# coding=utf-8
'''
author:董新强
createdate: 2016-12-14
description:失败代码
'''
from enum import Enum


class EnumErrorType(Enum):
    '''
    群组类型
    '''
    common = r'0x000'  # 一般错误
    interal_error = r'0x001'  # 服务器内部错误
    param_error = r'0x002'  # 参数错误
    access_denied = r'0x003'  # 没有权限
    third_part_error = r'0x004'  # 第三方调用出错导致失败
    not_exists = r'0x005'  # 数据不存在
    consistency = r'0x006'  # 数据一致性错误
    company_error = r'0x007'  # 公司有问题或数据不数据该公司
    relation_part_error = r'0x008'  # 其他关联部分出错
    token_expired = r'0x009'  # token过期
    token_error = r'0x010'
    frequently = r'0x011'
    not_implement = r'0x012'
